package cn.dnui_zjs008.dnuifood_.controller;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import cn.dnui_zjs008.dnuifood_.R;
import cn.dnui_zjs008.dnuifood_.bean.UserBean;
import cn.dnui_zjs008.dnuifood_.listener.OnRetrofitListener;
import cn.dnui_zjs008.dnuifood_.model.UserModel;

public class LoginActivity extends BaseActivity
    implements OnRetrofitListener<UserBean>,View.OnClickListener{
    private Button login;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //setContentView(R.layout.activity_login);
        //initViews();
    }

    @Override
    void initViews() {
        setLayout(R.layout.activity_login);
        login = findViewById(R.id.button);
        login.setOnClickListener(this);
    }

    @Override
    void initEvents() {
        //UserModel model = new UserModel();
        //model.login("","",this);
    }

    @Override
    void initData() {

    }

    @Override
    public void onSuccess(UserBean object) {

    }

    @Override
    public void onFailure(String msg) {

    }

    @Override
    public void onClick(View view) {

    }
}
